package com.ruoyi.tranShort.mqtt.client;

import com.ruoyi.tranShort.mqtt.api.GatewayClientApi;
import com.ruoyi.tranShort.mqtt.api.GatewayRequest;
import com.ruoyi.tranShort.mqtt.api.GatewayResponse;

/**
 * @author wwy
 * @date 2021-08-10 14:40
 */
public class GatewayDefaultClient implements GatewayClientApi {
    @Override
    public <T extends GatewayResponse> T execute(GatewayRequest gatewayRequest) {
        return gatewayRequest.execute();
    }
}
